import java.io.*;
import java.util.*;
public class Main{
    public static void main(String[]args){
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int []a = new int[n];
        for(int i=0;i!=n;i++) a[i] = reader.nextInt();
        reader.close();
        Arrays.sort(a);
        boolean fst = true;
        for(int x : a){
            System.out.print((fst?"":" ")+x);
            fst = false;
        }
        System.out.println();
    }
}